﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:Uhul.Controls"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
	xmlns:sl4smazat="clr-namespace:sl4smazat"
	x:Class="Uhul.Controls.VyberLHC"
	mc:Ignorable="d"
	d:DesignWidth="840" d:DesignHeight="600">
	<UserControl.Resources>
		
		
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="ResourceDictionary.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		
		</ResourceDictionary>
		
	</UserControl.Resources>
	
	
	

	<Grid x:Name="LayoutRoot" Margin="0">
		<Grid.Background>
			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0,0">
				<GradientStop Color="#FF0C5E19" Offset="1"/>
				<GradientStop Color="#FF7CB673"/>
			</LinearGradientBrush>
		</Grid.Background>
		<ScrollViewer
			x:Name="ScrollViewer1"
			Margin="0"
			VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden"
			VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
	>
			<Grid Margin="0">
			
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="400*" MaxWidth="420"/>
					<ColumnDefinition Width="4" />
					<ColumnDefinition Width="420*" />
				</Grid.ColumnDefinitions>

		
				<Path Grid.Column="1"
					Data="M0,0 L0,500" HorizontalAlignment="Center"
					Stretch="Fill"
					UseLayoutRounding="False"
					Width="4" StrokeThickness="4"
					Margin="0,30,0,30"
					VerticalAlignment="Stretch"
				>
					<Path.Stroke>
						<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,0.9">
							<GradientStop Color="#20939393" Offset="0.004"/>
							<GradientStop Color="#20939393" Offset="1"/>
							<GradientStop Color="#FF3FBC48" Offset="0.617"/>
							<GradientStop Color="#FF3FBC48" Offset="0.391"/>
						</LinearGradientBrush>
					</Path.Stroke>
				</Path>
				
				<Grid
					Grid.Column="0"
					HorizontalAlignment="Right"
					Width="370" Margin="0"
					Height="500"
				>
					<Grid.RowDefinitions>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="2*"/>
					</Grid.RowDefinitions>
					
					<local:WatermarkAutoCompleteBox x:Name="ZadanyLHC_KOD"
						Grid.Row="0"
						FontSize="18"
						Height="30" Width="157"
						Margin="20,0,0,0"
						VerticalAlignment="Center" HorizontalAlignment="Left"
						WatermarkText=" Kód LHC" BorderThickness="2" BorderBrush="#FFD4D4D4"
					/>
					<local:WatermarkAutoCompleteBox x:Name="ZadanyLHC_NAZ"
						Grid.Row="1"
						FontSize="14"
						Height="28"
						Margin="20,0,58,0"
						VerticalAlignment="Center"
						WatermarkText=" Název LHC" BorderBrush="#FFD4D4D4" BorderThickness="2"
					/>
					<StackPanel Orientation="Horizontal" Grid.Row="2" Margin="20,0,0,0">
						<RadioButton
							GroupName="druhLhc"
							Content="vše"
							HorizontalAlignment="Left"
							Width="76"
							Height="30" Foreground="#FFCBFFD0" FontSize="16" IsChecked="True" Margin="0,13,0,12"
						/>
						<RadioButton
							GroupName="druhLhc"
							Content="jen plány"
							HorizontalAlignment="Left"
							Width="98"
							Height="30" Margin="0,13,0,12" FontSize="13.333" Foreground="#FFD8D8D8"
						/>
						<RadioButton
							GroupName="druhLhc"
							Content="jen osnovy"
							HorizontalAlignment="Left"
							Width="106"
							Height="30" Margin="0,13,0,12" Foreground="#FFD6D6D6" FontSize="13.333"
						/>
					</StackPanel>
					
					<StackPanel Grid.Row="3" Orientation="Horizontal" Margin="0">
						<sdk:DatePicker x:Name="zadanyLHP_OD"
							HorizontalAlignment="Left" Margin="20,0,0,0" 
							Width="130" Height="28"
							BorderBrush="#FFD4D4D4" BorderThickness="2" FontSize="12"
						/>
						<sdk:DatePicker x:Name="zadanyLHP_DO"
							HorizontalAlignment="Left" Margin="20,0,0,0" 
							Width="130" Height="28"
							BorderBrush="#FFD4D4D4" BorderThickness="2" FontSize="12"
						/>
					</StackPanel>
					<ComboBox
						Grid.Row="4"
						x:Name="CboKRAJ"
						HorizontalAlignment="Left"
						Margin="20,0,0,0"
						Height="28"
						BorderBrush="#FFD4D4D4" BorderThickness="2" FontSize="14.667"
						Width="250" ToolTipService.ToolTip="Vyberte Kraj"
					/>
					
					<local:WatermarkAutoCompleteBox x:Name="zadanyNazevORP"
						Grid.Row="5"
						HorizontalAlignment="Left"
						FontSize="14"
						Height="28"
						Margin="20,0,0,0"
						Width="157"
						VerticalAlignment="Center"
						WatermarkText=" Název ORP" BorderBrush="#FFD4D4D4" BorderThickness="2"
					/>					
					<local:WatermarkAutoCompleteBox x:Name="zadanyNazevKu"
						Grid.Row="6"
						HorizontalAlignment="Left"
						FontSize="14"
						Height="28"
						Margin="20,0,0,0"
						Width="157"
						VerticalAlignment="Center"
						WatermarkText=" Název katastru" BorderBrush="#FFD4D4D4" BorderThickness="2"
					/>
					<StackPanel Grid.Row="7" Orientation="Horizontal" Margin="10,0,0,0">
						<Button
							x:Name="cmdZobrazitMapu"
							Content="Na mapu"
							Style="{StaticResource frmLHCBtn}"
							Margin="20,32,20,31"
							Width="115"
							Height="40"
						/>
						<Button
							x:Name="cmdVyhledatLhc"
							Style="{StaticResource frmLHCBtn}"
							Content="Hledat"
							Margin="20,0,20,0"
							Width="115"
							Height="40" Background="#35D2D2D2"
						/>
					</StackPanel>
					
				</Grid>
				
				<sdk:DataGrid 
					Grid.Column="2"
					HorizontalAlignment="Left"
					VerticalAlignment="Top"
					MinWidth="410"
					Height="Auto"
					Margin="10,30,0,0" Background="{x:Null}" BorderBrush="{x:Null}" HorizontalGridLinesBrush="{x:Null}" VerticalGridLinesBrush="{x:Null}"
				/>
				
				<Button
					x:Name="cmdZpetNaHledani"
					Grid.Column="2"
					Content="back"
					HorizontalAlignment="Right" VerticalAlignment="Top"
					Height="28" Width="28" 
					Margin="0"
					Style="{StaticResource BackButtonStyle}"
				/>
				
				<TextBlock 
					Grid.Column="2"
					Text="Výsledek hledání" 
					HorizontalAlignment="Left" VerticalAlignment="Top"
					Margin="10,0,0,0"
					TextWrapping="Wrap" 
					Height="30" Width="133"
					FontSize="18" FontFamily="Segoe UI Light" Foreground="#E29FFFA1"/>
				<TextBlock x:Name="pocetNazelenych" Grid.Column="2" Height="30" Margin="147,0,166,0" TextWrapping="Wrap" Text="0 lhc" VerticalAlignment="Top" FontSize="18.667" FontFamily="Segoe UI Light" Foreground="White"/>

				
			</Grid>
		</ScrollViewer>
		
	
	</Grid>
</UserControl>